package 面向对象中级.继承.作业;

public class Employee {

    private String name;
    private int month;//月份
    //get+set:  快捷键>>>alt+insert
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getSalary(int month){//如果过生日多给100
        return 0;
    }
}
